projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
119d29d
)
Check whether mask is NULL
author
Kristian Rietveld
<kris@gtk.org>
Mon, 31 Jan 2011 22:30:56 +0000
(23:30 +0100)
committer
Kristian Rietveld
<kris@gtk.org>
Mon, 31 Jan 2011 22:54:38 +0000
(23:54 +0100)
gdk/quartz/gdkdevice-core-quartz.c
patch
|
blob
|
history
diff --git
a/gdk/quartz/gdkdevice-core-quartz.c
b/gdk/quartz/gdkdevice-core-quartz.c
index f42cc5d18d0dee7f80a892c2ea6d50e9a63269ff..2f8781cde52cc727231a57b613755b0b0c5477f8 100644
(file)
--- a/
gdk/quartz/gdkdevice-core-quartz.c
+++ b/
gdk/quartz/gdkdevice-core-quartz.c
@@
-213,7
+213,8
@@
gdk_quartz_device_core_query_state_helper (GdkWindow *window,
toplevel = gdk_window_get_effective_toplevel (window);
- *mask = _gdk_quartz_events_get_current_event_mask ();
+ if (mask)
+ *mask = _gdk_quartz_events_get_current_event_mask ();
/* Get the y coordinate, needs to be flipped. */
if (window == _gdk_root)